package hu.codelab.lg.servicecenter.entities;

import org.simpleframework.xml.Element;
import org.simpleframework.xml.Root;

@Root(name = "ServiceCenter", strict = false)
public final class ServiceCenter {

    @Element(name = "Name", required = false)
    private String name;

    @Element(name = "Manager", required = false)
    private String manager;

    @Element(name = "Email", required = false)
    private String email;

    @Element(name = "Optional", required = false)
    private String optional;

    @Element(name = "Phones", required = false)
    private Phones phones;

    @Element(name = "Address", required = false)
    private Address address;

    public String getName() {
        return name;
    }

    public void setName(final String name) {
        this.name = name;
    }

    public String getManager() {
        return manager;
    }

    public void setManager(final String manager) {
        this.manager = manager;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(final String email) {
        this.email = email;
    }

    public String getOptional() {
        return optional;
    }

    public void setOptional(final String optional) {
        this.optional = optional;
    }

    public Phones getPhones() {
        return phones;
    }

    public void setPhones(final Phones phones) {
        this.phones = phones;
    }

    public Address getAddress() {
        return address;
    }

    public void setAddress(final Address address) {
        this.address = address;
    }

    @Override
    public String toString() {
        return "ServiceCenter [name=" + name + ", manager=" + manager + ", email=" + email + ", optional=" + optional + "]";
    }
    
}
